<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>插值表达式</title>
</head>
<body>
    <div id="app">
        {{5}}<br/>
        {{5 && 1}}<br/>
        {{0 && 1}}<br/>
        {{5 + 2}}<br/>
        {{5 || 3}}<br/>
        {{hello()}}<br/>
        {{heihei()}}<br/>

        ==================================================
        <hr/>

        {{name}}<br/>
        <span v-text="name">稍等片刻马上出来</span>
        <hr/>
        <span v-text="info">通知消息</span>
        <span v-html="info">通知消息</span>


    </div>

<script src="../node_modules/vue/dist/vue.js"></script>
<script>
    let app = new Vue({
        el: "#app",
        data:{
            name:"刘德华",
            info:"<h2>今天天气不错，适合烧烤</h2>"
        },
        methods:{
            hello(){
                console.log("hello")
            },
            heihei(){
                return "北京";
            }
        }
    })


</script>
</body>
</html>